package com.xdcplus.web.common.pojo.entity.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 部门(SysDepartment)表实体类
 * 
 * @author bullion.yan
 * @since 2024-06-18 14:00:40
 */
@Data
@ApiModel(description = "")
@SuppressWarnings("serial")
@TableName("SYS_DEPARTMENT")
public class SysDepartment implements Serializable {
    private static final long serialVersionUID = -39684858156171602L;
            
    @ApiModelProperty("主键")
    private Long id;
            
    @ApiModelProperty("部门编号")
    private String code;
            
    @ApiModelProperty("部门名称")
    private String name;
            
    @ApiModelProperty("所属公司ID")
    private Long companyId;
            
    @ApiModelProperty("上级部门ID")
    private Long parentId;
            
    @ApiModelProperty("部门负责人")
    private Long managerId;
            
    @ApiModelProperty("描述")
    private String description;
            
    @ApiModelProperty("是否已经逻辑删除（0：未删除 1：已删除）")
    private Long deleted;
            
    @ApiModelProperty("创建人")
    private String createdUser;
            
    @ApiModelProperty("创建时间")
    private Timestamp createdTime;
            
    @ApiModelProperty("更新人")
    private String updatedUser;
            
    @ApiModelProperty("更新时间")
    private Timestamp updatedTime;
            
    @ApiModelProperty("部门类型")
    private String departmentType;
}
